package com.alon.spring01.model;

import java.util.List;
import lombok.Data;

import javax.persistence.Id;

/**
 * @program: spring01
 * @description: 国家实体类
 * @author: yulongguang
 * @create: 2019-04-06 16:18
 **/

public class Country {

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCountryname() {
        return countryname;
    }

    public void setCountryname(String countryname) {
        this.countryname = countryname;
    }

    public String getCountrycode() {
        return countrycode;
    }

    public void setCountrycode(String countrycode) {
        this.countrycode = countrycode;
    }

    @Id
    private Integer id;
    private String countryname;
    private String countrycode;

    private List<User> users;

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }
}
